package com.boot.mapper;

import com.boot.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//这里需要加上注解@Mapper SpringBoot会自动扫描到
@Mapper
public interface UserMapper {
    List<User> getAll();
    User getById(Long id);
}
